package com.qing.mapper;

import com.qing.pojo.SignIn;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qing.pojo.vo.SignInVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author qinghua
 * @since 2022-06-06
 */
@Mapper
public interface SignInMapper extends BaseMapper<SignIn> {

    /**
     * 查询员工是否全勤
     * @return {@link List< Map< String, Object>> }
     */
    List<Map<String, Object>> getAllEmployeeWorkDayNum();

    /**
     * 查询所有员工今日签到记录
     *
     * @return {@link List< Map< String, Object>> }
     */
    List<SignInVo> queryAllAndName();

}
